#include <54func.h>
int main()
{
    if(fork())
    {
        printf("I am parent,pid = %d,ppid = %d\n",getpid(),getppid());
        //sleep(1);
        wait(NULL);   
    }else
    {
        printf("I am child,pid = %d,ppid = %d\n",getpid(),getppid());
    }
    return 0;
}
